import {View , Image} from "@tarojs/components";
import {AtButton} from "taro-ui";
import Footer from "../../components/Footer/index";


import './index.scss'
import Taro from "@tarojs/taro";

/**
 * 主页
 */
export default () =>{
  return <View className='indexPage'>
    <View className='title'>
      这是一级标题这是一级标题
    </View>
    <View className='sub-title'>这是二级标题</View>
    <AtButton type='primary' circle className='enterBtn' onClick={()=>{
      Taro.redirectTo({
        url: '/pages/doQuestion/index',
      })
    }}
    >开始测试</AtButton>
    <Image src='../../assets/index.png' className='hearderBg'></Image>
    <Footer />
  </View>
}
